//使用express创建一个应用 方式1
const express = require("express");
const http = require("http");
const app = express();

const server = http.createServer(app);

const port = 9527

server.listen(port, () => {
  console.log(`Server is running on port ${port}`);
});